package com.itlaobing.proxy.primitive;

import java.util.logging.Logger;

public class Factory implements Huawei{

    private Logger logger = Logger.getLogger(this.getClass().getName());

    @Override
    public CellPhone produce() {
        logger.info(" 工厂 生成手机");
        CellPhone cp = new CellPhone();

        cp.setBrand("荣耀");

        return cp;
    }
}
